#define _CRT_SECURE_NO_WARNINGS	

#include"SeqList.h"

void SLTest01()
{
	SL s;

	SLInit(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);

	SLPushFront(&s, 9);
	SLPushFront(&s, 8);
	SLPrint(&s);

	
	int pos = SLFind(&s,2);
	
	SLInsert(&s, pos, 6);
	SLPrint(&s);

	SLModify(&s, pos, 7);
	SLPrint(&s);

	SLDestory(&s);
	}

int main()
{
	SLTest01();

	return 0;
}